<template>
  <div class="login-wrap">
    <van-nav-bar
        class="login-title"
      title="登录"
      left-arrow
      right-text="注册"
      @click-left="onClickLeft"
      @click-right="onClickRight"
    />
    <Tabs @uploadInfo="uploadInfo"/>
    <p class="login-btn" @click="login">登录</p>
    <p class="return-password" v-if="loginForm.slectedMethod">找回密码</p>
    <p class="login-xieyi">登录即同意去哪儿<u>用户服务协议</u>和<u>隐私政策</u></p>
  </div>
</template>


<script lang="ts" src="./login.ts"></script>

<style lang="scss" scoped>
  @import './login.scss';
</style>

